<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片大小测试</title>
    <style>
        .img{
            height:400px;
            width:400px;
            position: static;
            display:block;
            /* width:100%;
            height: 100%; */
        }
    </style>
</head>
<body>
    <div style="position:relative;">
          <img src="./img/qq3.jpg" alt="" class="img">
    <!-- <a href="./img/qq3.jpg" target="_blank" rel="noopener noreferrer" class="img"></a> -->
    </div>
  
</body>
</html>